<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
  <!ENTITY nbsp "&#x00A0;">
]>
<xsl:stylesheet
  version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:msxml="urn:schemas-microsoft-com:xslt"
  xmlns:site.library="urn:site.library"
  xmlns:umbraco.library="urn:umbraco.library" xmlns:Exslt.ExsltCommon="urn:Exslt.ExsltCommon" xmlns:Exslt.ExsltDatesAndTimes="urn:Exslt.ExsltDatesAndTimes" xmlns:Exslt.ExsltMath="urn:Exslt.ExsltMath" xmlns:Exslt.ExsltRegularExpressions="urn:Exslt.ExsltRegularExpressions" xmlns:Exslt.ExsltStrings="urn:Exslt.ExsltStrings" xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets"
  exclude-result-prefixes="msxml umbraco.library Exslt.ExsltCommon Exslt.ExsltDatesAndTimes Exslt.ExsltMath Exslt.ExsltRegularExpressions Exslt.ExsltStrings Exslt.ExsltSets site.library">


  <xsl:output method="xml" omit-xml-declaration="yes" indent="no"/>

  <xsl:template name="comment">
    <xsl:param name="text"/>
    <xsl:choose>
      <xsl:when test="$text"><xsl:text disable-output-escaping="yes">&lt;!--</xsl:text><xsl:value-of disable-output-escaping="yes" select="$text"/><xsl:text disable-output-escaping="yes">--&gt;</xsl:text></xsl:when>
      <xsl:otherwise><xsl:text disable-output-escaping="yes">&lt;!-- --&gt;</xsl:text></xsl:otherwise>
    </xsl:choose>    
  </xsl:template>
  
</xsl:stylesheet>